package com.ken.student.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class messageVo {
    //消息id
    private String message_id;
    //班级id
    private String class_id;
    //消息类型
    private String type;
    //消息内容
    private String content;
    //开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime post_time;
    //发送者
    private String sender;
    //截至时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime end_time;
    //信息标题
    private String title;
    //是否查看
    private String is_read;
    //是否结束：0未结束，1结束
    private String is_end;
}
